﻿@model MvcMusicStore.Models.Album
<p>
    @Html.LabelFor(model => model.Genre)<br />
    @Html.DropDownList("GenreId",new SelectList(ViewBag.Genres,"GenreId", "Name", Model.GenreId))
</p>
<p>
    @Html.LabelFor(model => model.Title)<br />
    @Html.TextBoxFor(model => model.Title)
    @Html.ValidationMessageFor(model => model.Title)
</p>
<p>
    @Html.LabelFor(model => model.Price)<br />
    @Html.TextBoxFor(model => model.Price)
    @Html.ValidationMessageFor(model => model.Price)
</p>
<p>
    
    @Html.LabelFor(model => model.AlbumArtUrl)<br />
    @Html.TextBoxFor(model => model.AlbumArtUrl)
    @Html.ValidationMessageFor(model => model.AlbumArtUrl)
</p>
